package com.librarysys.service;

import com.librarysys.common.Result;
import com.librarysys.entity.Manager;
import com.librarysys.entity.Purview;

/**
 * Created by yuhui on 2017/7/11.
 */
public interface IManagerService {


     Result login(String name, String password);

     Boolean check(String name);

     Result modify(String name,String oldPassword,String newPassword);

     Result listManager();

     Result addManager(Manager manager);

     Result delManager(Integer id);

     Result addPurview(Purview purview);
}
